home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung / Power-Programmierung (Tewi)(1994).iso / magazine / msysjour / vol06 / 01 / kermit / wnterm < prev    next >
Text File  |  1990-12-31  |  1KB  |  59 lines

  1. # WNTERM - A Simple Windows Terminal Program
  2. #
  3. # Copyright (c) 1989, 1990 by
  4. # William S. Hall
  5. # 3665  Benton Street, #66
  6. # Santa Clara, CA 95051
  7. #
  8.  
  9. # This program should be made using the Windows 3.0 SDK and
  10. # Microsoft C version 5.1 or 6.0.
  11. # Use the overlay linker, version 5.x supplied with the Microsoft C
  12. # 5.1 or 6.0 compiler.
  13.  
  14. ## Macros
  15. # location of tty window code
  16. TTYDIR=.
  17.  
  18. # compile macro for Microsoft C 6.0.
  19. cp=cl -c -AM -Ghsw -Osler -Zpe -W3 -I$(TTYDIR) -DWINDOWS
  20.  
  21. # compile macro for Microsoft C 5.1
  22. # cp=cl -c -AM -Gsw -Os -Zpe -W3 -I$(TTYDIR) -DWINDOWS
  23.  
  24. all : wnterm.exe
  25.  
  26. #
  27. # make the terminal .RES file
  28. #
  29. wnterm.res : wnterm.rc wntmnu.rc wnterm.h wntdlg.dlg wntdlg.h
  30.     rc -r wnterm.rc
  31.  
  32. #
  33. # make the terminal .OBJ files
  34. #
  35. wnterm.obj : wnterm.c wnterm.h $(TTYDIR)\ttycls.h
  36.     $(cp) -NT _TERMRES wnterm.c
  37.  
  38. wntfns.obj : wntfns.c wnterm.h wntdlg.h $(TTYDIR)\ttycls.h
  39.     $(cp) -NT _TERMRES wntfns.c
  40.  
  41. wntint.obj : wntint.c wnterm.h $(TTYDIR)\ttycls.h
  42.     $(cp) -NT _TERMINT wntint.c
  43.  
  44. wntmsc.obj : wntmsc.c wnterm.h wntdlg.h $(TTYDIR)\ttycls.h
  45.     $(cp) -NT _TERMMSC wntmsc.c
  46.  
  47. ttycls.obj : $(TTYDIR)\ttycls.c $(TTYDIR)\ttycls.h
  48.     $(cp) -NT _TERMRES $(TTYDIR)\ttycls.c
  49.  
  50. #
  51. # create the .EXE file and add resources
  52. #
  53. wnterm.exe : wnterm.def wnterm.lnk wnterm.res \
  54.          wnterm.obj wntfns.obj wntint.obj wntmsc.obj ttycls.obj
  55.     link @wnterm.lnk
  56.     rc wnterm.res wnterm.exe
  57.  
  58.  
  59.